#include <stdint.h>
#include <stdbool.h>




#ifdef __cplusplus
extern "C" {
#endif

#define MAX_NAME_LENGTH 10
#define MAX_INTRODUCE_LENGTH 100
#define MAX_PERSONS_LENGTH 255
#define FUNCTION_SUCCESS_CODE 0


typedef struct _Person{
    uint8_t id;
    uint8_t age;
    char name[MAX_NAME_LENGTH];
} Person; 


void Persons_Init();
uint8_t Person_Create(uint8_t age, char *name);
uint8_t Person_Introduce(uint8_t id, char *result);

uint8_t GetPerson(uint8_t id, Person *result);

#ifdef __cplusplus
}
#endif

